//
//  PPMediator+PPCache.m
//  PPMediator
//
//  Created by ppss on 2021/6/18.
//

#import "PPMediator+PPCache.h"

@implementation PPMediator (PPCache)

- (BOOL)PPMediator_ContainsObjectForKey:(NSString *)key{
    NSMutableDictionary *paramsToSend = [[NSMutableDictionary alloc] init];
  
    paramsToSend[@"key"] = key;
    
    paramsToSend[@"Type"] = @"Contains";

    return [self performTarget:@"PPTarget_Data"
                 action:@"setupCacheWith"
                 params:paramsToSend
      shouldCacheTarget:NO];
}
@end
